#pragma once

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#define EASY_MODE 10

#define ROW 9
#define COL 9

#define ROWS (ROW + 2)
#define COLS (COL + 2)

void ChuShiHuaBoard(char board[ROWS][COLS], int rows, int cols, char set);
void daYinBoard(char board[ROWS][COLS], int row, int col);
void setMine(char board[ROWS][COLS], int row, int col); 
int getMineCount(char board[ROWS][COLS], int x, int y);
void findMine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);
void expandBlank(char mine[ROWS][COLS], char show[ROWS][COLS], int x, int y, int* win);